<template>
    <div>

    </div>
</template>

<script>
    export default {
        created() {
//            var url = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=' +
//                'wx45362d8e0247a7c7&redirect_uri=' +
//                'http://agthl.com/wx/index.html&response_type=code&scope=snsapi_userInfo&agentid=' +
//                '1000002&state=/mycredit#wechat_redirect';
            var url = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx45362d8e0247a7c7' +
                '&redirect_uri=http://t1.vanke.com:6888/index.html&response_type=code&scope=snsapi_userInfo' +
                '&agentid=3&state=/mycredit#wechat_redirect';
            console.log(url);
            window.location.href = url;
        }
    };
</script>

<style lang="less" scoped>
    @import "../css/var.less";

</style>
